package com.jrtc.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jrtc.base.entity.bo.CatchBallRecord;
import com.jrtc.base.entity.bo.Department;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface CatchBallRecordDao {
    /**
     * 添加患者抓小球记录
     * */
    public int insertRecord(CatchBallRecord catchBallRecord);

    /**
     * 获取三个月内的记录
     * */
    public List<CatchBallRecord> selCatchBallRecord(@Param("date") Date date, @Param("dBefore") Date dBefore, @Param("id") Integer id);

    /**
     * 获取患者抓小球记录
     * */
    public List<CatchBallRecord> catchBallRecord(Integer id);

    /**
     * 获取指定抓小球记录
     * */
    public CatchBallRecord catchBallRecordById(Integer id);
}